# coding:utf-8
__author__ = 'Ybj'
'''
作业列表页
'''
from src.common import Base_page
from appium.webdriver.common import mobileby
from airtest.core.api import *
from appium.webdriver.webelement import *
from poco.drivers.android.uiautomation import AndroidUiautomationPoco
from poco.proxy import *
import time,datetime,locale
# global sendkey,tVname
from src.common.datetime import *
from testdata.workdata import *
from src.common.baseUrl import *
auto_setup(__file__)

# poco= AndroidUiautomationPoco(use_airtest_input=True, screenshot_each_action=False)


class worklist_page(Base_page.Base_page):
    # by = mobileby.MobileBy()
    from src.common.configure import *
    #页面标题
    device = configure().get_driver()
    # tVtitle=(by.ACCESSIBILITY_ID,"发布学习/通知")
    tWtitle = device.find_element_by_accessibility_id("学习通知")
    #练习名称
    lSendkey=device.find_element_by_accessibility_id("发布")

    lvocie=device.find_element_by_accessibility_id("语音")


    # lpoto=poco("拍照")
    # lsun = poco("暑假练习")
    # lwei = poco("微课")
    # lStudy = poco("学习/通知")
    # lHome = poco("课后练习")